package beans;

public class Category {
	private int categoryId;
	private String name;
	private String description;
	
	/**
	 * Constructor
	 * */
	public Category() {
		setCategoryId(0);
		setName("");
		setDescription("");
	}
	
	/**
	 * Constructor
	 * @param id
	 * @param name
	 * */
	public Category(int categoryId, String name, String desc) {
		setCategoryId(categoryId);
		setName(name);
		setDescription(desc);
	}
	
	public String getName() {
		return this.name;
	}
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return Returns the categoryId.
	 */
	public int getCategoryId() {
		return categoryId;
	}
	/**
	 * @param categoryId The categoryId to set.
	 */
	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}
	/**
	 * @return Returns the description.
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * @param description The description to set.
	 */
	public void setDescription(String description) {
		this.description = description;
	}
}

